QT       += core gui

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++17

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

#edit version  major.slave.funct.edits
DEFINES += "XZQM_VERSION=\\\"00.00.04.02\\\""
#source code url 源码链接
DEFINES += "XZQM_CODEURL=\\\"https://gitee.com/superhero2005/xzqm.git\\\""

SOURCES += \
    base/bazi.cpp \
    base/fangwei8.cpp \
    base/gan10.cpp \
    base/gong9.cpp \
    base/gua64.cpp \
    base/gua8.cpp \
    base/jie24.cpp \
    base/jieqi.cpp \
    base/lifa.cpp \
    base/luopan.cpp \
    base/shuzi.cpp \
    base/yy.cpp \
    base/zhi12.cpp \
    base/zhouqi.cpp \
    main.cpp \
    qmdj/fangan.cpp \
    qmdj/fanganwin.cpp \
    qmdj/men8.cpp \
    qmdj/qmdjwin.cpp \
    qmdj/qmgong9.cpp \
    qmdj/qmxing9.cpp \
    qmdj/shen8.cpp \
    base/utils.cpp \
    base/wuxing.cpp \
    base/xiang4.cpp \
    wylq/liuqi.cpp \
    wylq/wuyunliuqi.cpp \
    wylq/wylqwin.cpp \
    xkfs/xkxing9.cpp \
    base/zhu.cpp \
    qmdj/xzqmwin.cpp

HEADERS += \
    base/bazi.h \
    base/fangwei8.h \
    base/gan10.h \
    base/gong9.h \
    base/gua64.h \
    base/gua8.h \
    base/jie24.h \
    base/jieqi.h \
    base/lifa.h \
    base/luopan.h \
    base/shuzi.h \
    base/xzqm.h \
    base/yy.h \
    base/zhi12.h \
    base/zhouqi.h \
    qmdj/fangan.h \
    qmdj/fanganwin.h \
    qmdj/men8.h \
    qmdj/qmdef.h \
    qmdj/qmdjwin.h \
    qmdj/qmgong9.h \
    qmdj/qmxing9.h \
    qmdj/shen8.h \
    base/utils.h \
    base/wuxing.h \
    base/xiang4.h \
    wylq/liuqi.h \
    wylq/wuyunliuqi.h \
    wylq/wylqwin.h \
    xkfs/xkxing9.h \
    base/zhu.h \
    qmdj/xzqmwin.h

FORMS += \
    qmdj/fanganwin.ui \
    qmdj/qmdjwin.ui \
    qmdj/xzqmwin.ui \
    wylq/wylqwin.ui

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

RESOURCES += \
    xzqm.qrc

RC_FILE = bagua.rc

DISTFILES += \
    bagua.ico \
    bagua.rc \
    logo.jpg \
    rili.cfg \
    shi.png


